/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package csse3004.GD;

import java.util.ArrayList;

/**
 *
 * @author David Bullock 42062222
 */
public class Answer {
    private int id = -1;
    private String text;
    private int parent = -1;
    private boolean answered = false;
    
    public boolean isAnswered() {
        return answered;
    }

    public void Answer() {
        this.answered = true;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParent() {
        return parent;
    }

    public void setQuestId(int parent) {
        this.parent = parent;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
    
    
}
